package com.oydsoft.api.code;

import com.oydsoft.dto.code.S96;
import io.swagger.annotations.*;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Api(tags="S96系统代码表服务接口(测试)")
@RequestMapping("/s96")
public interface S96Service {

    @GetMapping("/voidTest")
    void voidTest();

    @GetMapping("/test")
    String test();

    @ApiOperation(value = "返回s96系统代码表List集合")
    @ApiResponses({
            @ApiResponse(code = 400, message = "请求参数没填好"),
            @ApiResponse(code = 404, message = "请求路径没有或页面跳转路径不对")
    })
    @GetMapping("/mapper")
    List<S96> mapper(/*@ApiParam("传入的id")@RequestParam("id") Integer id*/);
}